
{%include file="m.index.header.tpl.php"%} 
<!--主体部分-->
<div class="container" style="margin-top:70px;">
  <div class="row" style="margin-right:10%;">
    <div  class="col-xs-sm  text-right" ></div>
  </div>
  <!--row  end-->
  
  <div class="row" style="margin-top:10px;">
    <form action="" method="get">
      <div class="col-sm-12 distance" >
        <div class="form-group">
          <label for="" class="col-sm-2 control-label">姓名：</label>
          <div class="col-sm-10">
            <input name="staff_name" type="text" class="form-control" id="">
          </div>
        </div>
      </div>
      <div class="col-sm-12 distance" >
        <div class="form-group">
          <label for="" class="col-sm-2 control-label">学历：</label>
          <div class="col-sm-10">
            <select class="form-control" name="staff_education">
		  <option value="">全部</option>
			  {%foreach from=$education_ini key=key item=value%}
					<option value="{%$key%}" {%if $staff_education==$key%}selected{%/if%}>{%$value%}</option>
			  {%/foreach%}
		  </select> 
          </div>
        </div>
      </div>
      <div class="col-sm-12 distance" >
        <div class="form-group">
          <label for="" class="col-sm-2 control-label">职称：</label>
          <div class="col-sm-10">
            <select class="form-control" name="staff_position">
		  <option value="">全部</option>
			 {%foreach from=$position_ini key=key item=value%}
					<option value="{%$key%}" {%if $staff_positon==$key%}selected{%/if%}> {%$value%}</option>
			  {%/foreach%}
		  </select> 
          </div>
        </div>
      </div>
      <div class="col-xs-12 distance"   >
        <div class="form-group  text-center" style="padding-top:0px;">
		  <input type="hidden" name="a" value="teacher.list">
          <button type="submit" class="btn btn-success absolutely ">搜 索</button>
        </div>
      </div>
    </form>
  </div>
  <div class="row content-top"> 
    <!--  <h5>总计44条信息</h5>-->
	{%foreach from=$staff_lists key=key item=value%}
    <table class="table table-striped table-bordered text-center"  id="middles">
	
      <tr>
        <td>编号</td>
        <td>{%$value.staff_number%}</td>
      </tr>
      <tr>
        <td>姓名</td>
        <td>{%$value.staff_name%}</td>
      </tr>
      <tr>
        <td>性别</td>
        <td>{%$value.staff_sex%}</td>
      </tr>
      <tr>
        <td>操作</td>
        <td><table class="table table-striped table-bordered text-center">
            <tr>
              
			   <td><a type="button" class="btn btn-info" href="index.php?a=teacher.teachlist&staff_id={%$value.staff_id%}">教学信息</a></td>
               <td><a type="button" class="btn btn-success" href="index.php?a=change.list&staff_id={%$value.staff_id%}&personnel_type=1">人事变动</a></td>
            </tr>
            <tr>
               <td class="text-center" colspan="2"><a type="button" class="btn btn btn-warning" href="index.php?a=teacher.teacherdetails&staff_id={%$value.staff_id%}">查看</a></td>
            </tr>
          </table></td>
      </tr>
      
      
    </table>
	{%/foreach%}
  </div>
</div>
<!--container  end--> 
<!--主体部分  end--> 
{%include file="m.index.footer.tpl.php"%}
